//
//  BaseDataEngine.h
// 

#import <Foundation/Foundation.h>

#define kPostMethod @"POST"
#define kGetMethod @"GET"

typedef void(^SuccessAPIBlock)(NSDictionary *responseDic);
typedef void(^FailureAPIBlock)(NSError * error);

@interface BaseDataEngine : NSObject

+ (void)apiForPath:(NSString *)path method:(NSString *)method parameter:(NSMutableDictionary *)parameters onCompleteSuccess:(SuccessAPIBlock)successBlock onCompleteFailur:(FailureAPIBlock)failureBlock withIsForm:(BOOL)isForm;


@end
